73d4cba5f842596c14b3a298a8b0a32e5a81f0e8
[git-annex.git] /
1 [[!comment format=mdwn
2  username="http://joeyh.name/"
3  ip="108.236.230.124"
4  subject="comment 1"
5  date="2014-07-21T17:28:53Z"
6  content="""
7 `find --maxdepth` is a nice optimisation because it can short-circuit when it gets deep in the tree. However, `git annex find` is built on top of `git ls-files --cached`, which has no equivilant way to short-circuit. I am not sure if the format of the index makes it practical for it to get a --maxdepth option (it may need to traverse the whole index, or might be able to short-circuit).
8
9 I don't see any point in adding a --matdepth to git-annex if it doesn't actually make it any faster, so getting such a thing into `git ls-files` would be the first step. So, suggest filing a feature request on git.
10 """]]